package com.atguigu.orderservice.service;

import com.atguigu.orderservice.entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author kaixuan
 * @since 2020-06-13
 */
public interface TOrderService extends IService<TOrder> {

    /**
     * 根据课程id和用户id创建订单 返回订单号
     * @param courseId 课程id
     * @param memberId 用户id
     * @return
     */
    String createOrder(String courseId, String memberId);

}
